<?php
/* 
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

$userid = get_loggedin_userid();
$password = get_input('password');

greengar_change_password($userid, $password);
$result = export_result(200, 'Your password has been changed');
echo json_encode($result);
?>
